import { createApp } from "vue";
import { ElButton } from "element-plus";
// import 'element-plus/dist/index.css'
import App from "./App.vue";
import router from "./router";
import store from "./store";

const app = createApp(App);

// 安装vue-router
app.use(router);
app.use(store);
// 按需加载：使用什么组件就需要安装什么组件，才能使用
app.use(ElButton);

// 注意：必须要挂载前完成
app.mount("#app");
